home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
OFFSCREE
/
CPENDULU.H
< prev
next >
Wrap
Text File
|
1992-02-06
|
458b
|
26 lines
/****
* CPendulumObj.h
*
* Class for a pendulum.
*
****/
#define _H_CPendulumObj /* Include this file only once */
struct CPendulumObj : indirect {
/* Instance variables */
short hLoc,vLoc,hOffset,vOffset;
CIconHandle truckIcon;
/* methods */
virtual void IPendulumObj (short anHLoc, short aVLoc, short anHOffset, short aVOffset);
virtual void Draw(Rect *area);
virtual void GoLeft(short amount);
virtual void GoRight(short amount);
};